package com.shop.resource.api;

import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * @Description:
 *
 * @author zhoulk
 * @date: 2019年05月08日  17:28
 */
@RequestMapping("/res")
public interface IEmailApi {

    @PostMapping(value = "/emailCode", produces = MediaType.APPLICATION_JSON_VALUE)
    Map<String,Object> sendEmailCode(String code, String email);
}
